import Forget from '@/views/forget.vue'
import Login from '@/views/login.vue'
import Register from '@/views/register.vue'
import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/login',
    component: Login
  },
  {
    path: '/register',
    component: Register
  },
  {
    path: '/forget',
    component: Forget
  },
  {
    path: '/',
    component: Login
  }
]

const router = new VueRouter({
  routes
})

export default router
